package com.ushine.web.template.desensitization.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ushine.web.template.desensitization.model.FieldDesensitizationDO;

import java.util.List;

/**
 * @Author: yls
 * @Date 2022/2/11 10:52
 * @Description: 字段脱敏service
 * @Version 1.0
 **/
public interface IFieldDesensitizationService extends IService<FieldDesensitizationDO> {

    /**
     * 功能描述:
     * 〈 添加字段脱敏数据 〉
     *
     * @param filedDesensitization 字段脱敏实体数据
     * @return : java.lang.Boolean
     * @author : yls
     * @date : 2022/2/11 10:53
     */
    Boolean insert(FieldDesensitizationDO filedDesensitization);

    /**
     * 功能描述:
     * 〈 查询所有的字段脱敏数据 〉
     *
     * @param
     * @return : java.lang.Boolean
     * @author : yls
     * @date : 2022/2/11 10:54
     */
    List<FieldDesensitizationDO> listFieldDesensitizations();
}
